//
//  MBProgressHUD+Progress.h
//  MeiYai
//
//  Created by ArthurWang on 16/2/2.
//  Copyright © 2016年 MeiYai. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

@interface MBProgressHUD (Progress)

+ (MB_INSTANCETYPE)showDrawInViewWithoutIndicator:(UIView *)view
                                           status:(NSString *)text
                                       afterDelay:(NSTimeInterval)delay;

+ (MB_INSTANCETYPE)showInViewWithoutIndicator:(UIView *)view
                                       status:(NSString *)text
                                   afterDelay:(NSTimeInterval)delay;

+ (MB_INSTANCETYPE)showInView:(UIView *)view;

+ (MB_INSTANCETYPE)showInView:(UIView *)view
                       status:(NSString *)text;


#pragma mark - 提示框

+ (void)showProgressMsg:(NSString *)msg dim:(BOOL)dim;

+ (void)hideProgressMsg;

+ (void)hideProgressMsgDelay:(NSTimeInterval)delay;

+ (void)showInfoMsg:(NSString *)msg;

+ (void)showErrorMsg:(NSString *)errMsg;

+ (void)showCustomHUDView:(NSString *)image msg:(NSString *)message;

+ (void)showCustomLoadingView:(NSString *)msg;

@end
